package bean.client;

import java.util.Date;

public class Client {
	
	private static final int maxTentative = 10;
	
	private int id;
	private String email;
	private Date dateNaissance;
	private int blocage;
	private String civilite;
	private String nom;
	private String prenom;
	private String service;
	private String tel1;
	private String tel2;
	private Date dateActivation;
	private Date dateDesactivation;
	private Adresse adresseClient;
	private int interne;



	public Client() {
		super();
	}
	
	public Client(int id, String email, Date dateNaissance,
			int blocage, String civilite, String nom, String prenom,
			String service, String tel1, String tel2,
			Date dateActivation,
			Date dateDesactivation, Adresse adresse, int interne) {
		super();
		this.id = id;
		this.email = email;
		this.dateNaissance = dateNaissance;
		this.blocage = blocage;
		this.civilite = civilite;
		this.nom = nom;
		this.prenom = prenom;
		this.service = service;
		this.tel1 = tel1;
		this.tel2 = tel2;
		this.dateActivation = dateActivation;
		this.dateDesactivation = dateDesactivation;
		this.adresseClient = adresse;
		this.interne = interne;
	}


	public int getInterne() {
		return interne;
	}

	public void setInterne(int interne) {
		this.interne = interne;
	}
	
	public static int getMaxNumberConnexion() {
		return Client.maxTentative;
	}
	
	public Adresse getAdresseClient() {
		return adresseClient;
	}

	public void setAdresseClient(Adresse adresseClient) {
		this.adresseClient = adresseClient;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getDateNaissance() {
		return dateNaissance;
	}
	public void setDateNaissance(Date dateNaissance) {
		this.dateNaissance = dateNaissance;
	}
	public int getBlocage() {
		return blocage;
	}
	public void setBlocage(int blocage) {
		this.blocage = blocage;
	}
	public String getCivilite() {
		return civilite;
	}
	public void setCivilite(String civilite) {
		this.civilite = civilite;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public String getPrenom() {
		return prenom;
	}
	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}
	public String getService() {
		return service;
	}
	public void setService(String service) {
		this.service = service;
	}
	public String getTel1() {
		return tel1;
	}
	public void setTel1(String tel1) {
		this.tel1 = tel1;
	}
	public String getTel2() {
		return tel2;
	}
	public void setTel2(String tel2) {
		this.tel2 = tel2;
	}
	public Date getDateActivation() {
		return dateActivation;
	}
	public void setDateActivation(Date dateActivation) {
		this.dateActivation = dateActivation;
	}
	public Date getDateDesactivation() {
		return dateDesactivation;
	}
	public void setDateDesactivation(Date dateDesactivation) {
		this.dateDesactivation = dateDesactivation;
	}
}
